package edu.sctu.zhoumengxue.day201505.day20150531;

/**
 * Created by user12 on 2015/5/31.
 */
public class Returnation {

    public Returnation(int number1,int number2){
        int result;
        if(number1>number2){
            result = number1;
        }else {

            result = number2;
        }
        System.out.println(result);
    }

    public Returnation(int number){

        for (int i = 0; i <number ; i++) {
            for (int j = 1; j <number-1 ; j++) {
                if(i<j){
                    System.out.println(j);
                }else {

                    System.out.println(i+":"+i*j);
                }
            }
        }
    }
}
